projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15cc85d
)
build: Do not call gtk_init()
author
Emmanuele Bassi
<ebassi@gnome.org>
Sat, 29 Aug 2015 13:17:37 +0000
(14:17 +0100)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Sat, 29 Aug 2015 13:17:37 +0000
(14:17 +0100)
It needs to open a display connection, which is obviously going to fail
miserably on any headless build machine.
Instead, we need to find where we started requiring to initialize GTK
when calling a get_type() function, and stop doing that.
This commit and commit
15cc85db295b3d54f85c541b3c82d7b703c851c8
fully
revert commit
6838861d26bfec9af53438022bd1f5b60bab3bf4
.
gtk/Makefile.am
patch
|
blob
|
history
diff --git
a/gtk/Makefile.am
b/gtk/Makefile.am
index 5dcf1a5aa66a231cfc5b7e81482d9af150c187cc..4fd509cdac9c98da303d0acb4be0a98280e04e72 100644
(file)
--- a/
gtk/Makefile.am
+++ b/
gtk/Makefile.am
@@
-1376,7
+1376,6
@@
Gtk-3.0.gir: $(INTROSPECTION_SCANNER) libgtk-3.la $(top_builddir)/gdk/Gdk-3.0.gi
Gtk_3_0_gir_SCANNERFLAGS = \
--warn-all \
--add-include-path=$(top_builddir)/gdk \
- --add-init-section="gtk_init (NULL, NULL);" \
--include-uninstalled=$(top_builddir)/gdk/Gdk-3.0.gir
Gtk_3_0_gir_INCLUDES = Atk-1.0
if USE_X11